package selfStudy.demo2.iotest.domain;

public class Student {
    // /*1. 请定义一个Student类，属性：姓名、性别、年龄、分数
    //	   无参、全参构造方法
    //	   get/set方法
    private String name;
    private Character gender;
    private Integer age;
    private Integer sorce;

    @Override
    public String toString() {
        return "Studnet{" +
                "name='" + name + '\'' +
                ", gender=" + gender +
                ", age=" + age +
                ", sorce=" + sorce +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Character getGender() {
        return gender;
    }

    public void setGender(Character gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSorce() {
        return sorce;
    }

    public void setSorce(Integer sorce) {
        this.sorce = sorce;
    }

    public Student(String name, Character gender, Integer age, Integer sorce) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.sorce = sorce;
    }

    public Student() {
    }
}
